{extend name="base:base" /}
{block name="seo"}
<!--/meta 作为公共模版分离出去-->
<title>图片资源列表 - {$app_name}</title>
{/block}
{block name="nav"}
<nav class="breadcrumb" style="background-color:#fff;padding: 0 24px">
    首页
    <span class="c-gray en">/</span>
    静态资源管理
    <span class="c-gray en">/</span>
    图片
</nav>
{/block}
{block name="main"}
<div class="panel mt-20">
    <div class="panel-body">
        <div class="clearfix">
            <span class="f-l">
                <a class="btn btn-primary radius"
                   onclick="article_add('上传图片','/{$backendPrefix}/static/images/upload.html')"
                   href="javascript:void(0);"><i class="Hui-iconfont">&#xe600;</i> 上传图片</a>
            </span>
            <span class="f-r">本次查询出：<strong></strong> 条数据</span>
        </div>
        <div class="mt-20 clearfix">
            <table id="data-table-list"
                   class="table table-border table-striped table-hover">
                <thead>
                <tr class="text-c">
                    <th width="40"><input name="" type="checkbox" value=""></th>
                    <th width="5%">图片</th>
                    <th>文件</th>
                    <th width="10%">上传日期</th>
                    <th width="30%">操作</th>
                </tr>
                </thead>
                <tbody class="getData-list" data-currPage='1'>
                {notempty name="data"}
                {volist name="data" id="vo"}
                <tr class="text-c">
                    <td><input name="" type="checkbox" value=""></td>
                    <td><img src="{$fileHost}/{$vo.aws_key}" alt="" width="60px"></td>
                    <td class="text-l">{$vo.aws_key}<br/>{$vo.type|getTypeName}</td>
                    <td>{$vo.create_time}</td>
                    <td class="text-l">
                        <!--<a style="text-decoration:none" class="ml-5 btn btn-primary"-->
                           <!--onClick="full_add('编辑文章','#')"-->
                           <!--href="javascript:void (0);"-->
                           <!--title="编辑文章"><i class="Hui-iconfont">&#xe6df;</i></a>-->
                    </td>
                </tr>
                {/volist}
                {else /}
                {/notempty}
                </tbody>
            </table>
        </div>
        <div id="laypage" class="text-l"></div>
    </div>
</div>
{/block}
{block name="script"}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__LIB__/datatables/1.10.15/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="__LIB__/laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="__ADMIN__/business/js/main.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#menu-media dd").css("display", "block");
        $("#menu-media #menu-pic").addClass("current");
    })
</script>
{/block}